<script type="text/javascript" src="/js/discuss.js"></script>
<link rel="stylesheet" href="/css/discuss.css">

<div class="container-fluid discuss-page">
    <div class="row">
        <div class="discuss-box ">
            <h1>{{comment.title}}</h1>
            <p>{{{comment.content}}}</p>
            <span class="bookmaker">【编辑:{{comment.user.username}}】</span>
        </div>
        <form class="form-discuss">
            <input type="hidden" value={{comment._id}} class="comment-id"></input>
            <textarea rows=6 class="discuss-content form-control"></textarea>
            <button class="btn btn-primary btn-discuss">畅言一下</button>
        </form>
        <div class="dc-box">
            <label class="dc-title">评论区</label>
        </div>
         
        <ul class="discuss-list"> 
                 
            {{#each comment.comments}}
            <li>
                <div class="discuss-body">
                    <h5>游客{{commentUser.username}}<span>：{{commentContent}}</span></h5>
                </div>
            </li>
            {{/each}}
        </ul>
    </div>
</div>